package demo01;

import demo01.gun.HelloBaseVisitor;
import demo01.gun.HelloParser;

/**
 * Created by Administrator on 2016/6/22.
 */
public class DemoVisitor extends HelloBaseVisitor<String> {
    @Override
    public String visitS(HelloParser.SContext ctx) {
        String id = ctx.ID().getText() ;
        ctx.ID().getText() ;
        System.out.println(id);
        return null ;
    }
}
